package com.azh.server.transport;

/**
 * @author zhaozhenhang <zhaozhenhang@kuaishou.com>
 * Created on 2022-05-02
 * 传输基本结构
 */
public class Package {

    byte[] data;

    Exception err;

    public Package(byte[] data, Exception err) {
        this.data = data;
        this.err = err;
    }

    public byte[] getData() {
        return data;
    }


    public Exception getErr() {
        return err;
    }

}
